package com.skyline.jfs.cluster.model;

import java.util.Date;

public class JFSNode {
	private Integer id;						//id
	private String name;					//这个Node的名称 
	private String ip;						//ip，这个Node的IP地址
	private String description;			//描述
	private Long adminiJobNum;	//管理员，默认为提交这台服务器的管理员
	private Long totalSpace;				//Node总容量
	private Long usableSpace;				//Node已用容量
	private String storageDirctory;		//Node中分给分布式存储的目录
	private Date createdTime;				//创建时间
	private Date updateTime;				//修改时间
	private Date heartbeat;				//心跳时间，确定机器的存活
	private Integer heartRate;				//心跳时间，确定机器的存活
	private String activity;				//活性，为NodeActivity类型;	
	private Integer loadbalancingFactor;	//负载因子，越高越有可能被负载到
	private Boolean exist;					//存在位
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Long getAdminiJobNum() {
		return adminiJobNum;
	}
	public void setAdminiJobNum(Long adminiJobNum) {
		this.adminiJobNum = adminiJobNum;
	}
	public Long getTotalSpace() {
		return totalSpace;
	}
	public void setTotalSpace(Long totalSpace) {
		this.totalSpace = totalSpace;
	}
	public Long getUsableSpace() {
		return usableSpace;
	}
	public void setUsableSpace(Long usableSpace) {
		this.usableSpace = usableSpace;
	}
	public String getStorageDirctory() {
		return storageDirctory;
	}
	public void setStorageDirctory(String storageDirctory) {
		this.storageDirctory = storageDirctory;
	}
	public Date getCreatedTime() {
		return createdTime;
	}
	public void setCreatedTime(Date createdTime) {
		this.createdTime = createdTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public Date getHeartbeat() {
		return heartbeat;
	}
	public void setHeartbeat(Date heartbeat) {
		this.heartbeat = heartbeat;
	}
	public String getActivity() {
		return activity;
	}
	public void setActivity(String activity) {
		this.activity = activity;
	}
	public Integer getLoadbalancingFactor() {
		return loadbalancingFactor;
	}
	public void setLoadbalancingFactor(Integer loadbalancingFactor) {
		this.loadbalancingFactor = loadbalancingFactor;
	}
	public Boolean getExist() {
		return exist;
	}
	public void setExist(Boolean exist) {
		this.exist = exist;
	}
	public Integer getHeartRate() {
		return heartRate;
	}
	public void setHeartRate(Integer heartRate) {
		this.heartRate = heartRate;
	}
	
	
}
